#pragma once
#include "baseapplication.h"
#include "MagicBox.h"
#include "Wall.h"

class CBoxPage :
	public BaseApplication
{
public:
	CBoxPage(void);
	~CBoxPage(void);
protected:
	void createScene(void) ;
	void createFrameListener(void);
	bool keyPressed( const OIS::KeyEvent &arg );
	bool keyReleased( const OIS::KeyEvent &arg );
	bool frameStarted(const Ogre::FrameEvent& evt);
	bool frameEnded(const Ogre::FrameEvent& evt);

private:
	CMagicBox magicBox;
	CWall wall;
	Ogre::AnimationState* mAnimationState;
};
